<?php defined('BASEPATH') OR exit('No direct script access allowed');

class Error_404 extends wsFrontend
{

    public function index()
    {
        $data = array();
        $this->tpl->meta ['title'] = $this->metadata->get_metadata('_error_404_index_title', '404_error');
        $this->tpl->meta ['description'] = $this->metadata->get_metadata('_error_404_description', '404_error');
        $this->tpl->meta ['keywords'] = $this->metadata->get_metadata('_error_404_index_keywords', '404_error');

        $this->output->set_status_header(404);

        $this->tpl->contents [] = $this->tpl->fetch('contents/error_404', $data);
        $this->tpl->render('layouts/empty');
    }
}
